export default ({
    namespaced: true,
    state(){
        return{
            userGroup: false,    //新增用户组开关
            updateGroup: false,    //修改用户组开关
            setPermissions:false   //权限设置开关
        }
    },
    mutations:{
        userGroupSwitch(state,val){
            state.userGroup = val
        },
        userGroupUpdate(state,val){
            state.updateGroup = val
        },
        isSetPermissions(state,val){
            state.setPermissions = val
        }
    }
})